package com.example.views;

import com.example.R;
import com.example.presenters.ItemListPresenter;
import com.example.presenters.PostItemPresenter;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;

public class ItemActivity extends Activity {

	private ItemListPresenter myPresenter;
	private String currItemName;

	/**
	 * Activates the register activity when it is called.
	 */
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_post_item);
/*		myPresenter = new ItemPresenter(this, 
				com.example.model.UserList.getInstance(), 
				com.example.model.ItemList.getInstance());
		Intent intent = getIntent();
		currUsername = intent.getStringExtra(MainActivity.USERNAME);
*/	}

	/**
	 * Builds up the options menu.
	 */
	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.main, menu);
		return true;
	}
}
